package com.get.backstage.user.controller;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.get.backstage.common.result.R;
import com.get.backstage.user.entity.User;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fanjia
 * @description TODO
 * @date 2021/10/25 10:32
 */
@RestController
@RequestMapping("/Test")
@Slf4j
public class TestController {


    @GetMapping("/page")
    public R selectAll(@RequestBody String data) {
        System.out.println(data);
        return R.success("userPage");
    }


}
